package cn.com.dycc.infomation_center.entity;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

import cn.com.dycc.common.entity.T_AttachPart;


public class Pb_Party_Information implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -2899018956115312956L;
	
	private String info_id;//资讯记录ID  由序列seq_information_id取值 
	private String title;//标题  
	private String info_type;//资讯类别   1 党建要闻    2政策法规    3 党纪党规   4先进人物   5三会一课  
	private String content;//资讯内容
	private String state;//状态 Y：有效   N：失效 
	private String org_id;//使用组织id,为了区分不同的本系统使用组织  
	private Timestamp create_date;//创建时间
	private String opt_user_id;//创建记录员工编号
	private Timestamp update_date;//记录修改时间 
	private String update_user_id;//记录修改的员工编号
	
	private String info_type_name;//
	private String state_name;//
	private String opt_user_name;//发布人
	
	private List<T_AttachPart> attachs;
	private List<T_AttachPart> thumbnails;
	
	public Pb_Party_Information() {
		super();
		
	}
	
	public Pb_Party_Information(String info_id, String title, String info_type, String content, String state,
			String org_id, Timestamp create_date, String opt_user_id, Timestamp update_date, String update_user_id) {
		super();
		this.info_id = info_id;
		this.title = title;
		this.info_type = info_type;
		this.content = content;
		this.state = state;
		this.org_id = org_id;
		this.create_date = create_date;
		this.opt_user_id = opt_user_id;
		this.update_date = update_date;
		this.update_user_id = update_user_id;
	}

	public String getInfo_id() {
		return info_id;
	}
	public void setInfo_id(String info_id) {
		this.info_id = info_id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getInfo_type() {
		return info_type;
	}
	public void setInfo_type(String info_type) {
		this.info_type = info_type;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getOrg_id() {
		return org_id;
	}
	public void setOrg_id(String org_id) {
		this.org_id = org_id;
	}
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	public Timestamp getCreate_date() {
		return create_date;
	}
	public void setCreate_date(Timestamp create_date) {
		this.create_date = create_date;
	}
	public String getOpt_user_id() {
		return opt_user_id;
	}
	public void setOpt_user_id(String opt_user_id) {
		this.opt_user_id = opt_user_id;
	}
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	public Timestamp getUpdate_date() {
		return update_date;
	}
	public void setUpdate_date(Timestamp update_date) {
		this.update_date = update_date;
	}
	public String getUpdate_user_id() {
		return update_user_id;
	}
	public void setUpdate_user_id(String update_user_id) {
		this.update_user_id = update_user_id;
	}

	
	public String getInfo_type_name() {
		return info_type_name;
	}

	public void setInfo_type_name(String info_type_name) {
		this.info_type_name = info_type_name;
	}

	public String getState_name() {
		return state_name;
	}

	public void setState_name(String state_name) {
		this.state_name = state_name;
	}

	
	public String getOpt_user_name() {
		return opt_user_name;
	}

	public void setOpt_user_name(String opt_user_name) {
		this.opt_user_name = opt_user_name;
	}
	
	

	
	public List<T_AttachPart> getAttachs() {
		return attachs;
	}

	public void setAttachs(List<T_AttachPart> attachs) {
		this.attachs = attachs;
	}

	public List<T_AttachPart> getThumbnails() {
		return thumbnails;
	}

	public void setThumbnails(List<T_AttachPart> thumbnails) {
		this.thumbnails = thumbnails;
	}

	public String toString() {
		return "Pb_Party_Information [info_id=" + info_id + ", title=" + title + ", info_type=" + info_type
				+ ", content=" + content + ", state=" + state + ", org_id=" + org_id + ", create_date=" + create_date
				+ ", opt_user_id=" + opt_user_id + ", update_date=" + update_date + ", update_user_id=" + update_user_id
				+ ", info_type_name=" + info_type_name + ", state_name=" + state_name + ", opt_user_name="
				+ opt_user_name + ", attachs=" + attachs + ", thumbnails=" + thumbnails + "]";
	}
	
	

}
